<?php

namespace app\modules\adminapi\controllers;

use app\models\Product;

/**
* ProductController implements the CRUD actions for Product model.
*/
class ProductController extends BaseConfigController
{
    public $modelClass = 'app\models\Product';
    public $searchModelClass = 'app\models\ProductSearch';
    public $createScenario = Product::SCENARIO_CHANGE;
    public $updateScenario = Product::SCENARIO_CHANGE;
}
